//
//  TVCellOfReplyBackView.m
//  LCOnePsychology
//
//  Created by li cheng on 16/9/26.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "TVCellOfReplyBackView.h"

@implementation TVCellOfReplyBackView
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
      // 创建 label
        [self createLabel];
    }
    return self;
}
#pragma mark - 创建一个label
- (void)createLabel{
    _replyLabel = [[UILabel alloc] init];
    _replyLabel.numberOfLines = 0;
    _replyLabel.backgroundColor = [UIColor colorWithRed:0.93 green:0.93 blue:0.93 alpha:1.00];
    [self.contentView addSubview:_replyLabel];
}
#pragma mark - 重新布局
- (void)layoutSubviews{
    [super layoutSubviews];
    _replyLabel.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, self.contentView.bounds.size.height);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
